import React from 'react'
import { Tabbar } from 'react-vant';
import { FriendsO, HomeO, Search, SettingO } from '@react-vant/icons';
import {NavLink} from "react-router-dom"
function Tabbar1() {
    return (

        <div className='demo-tabbar'>
            <Tabbar>
                <Tabbar.Item icon={<HomeO />}>
                    <NavLink to="/all/home">首页</NavLink>
                </Tabbar.Item>
               
                
                <Tabbar.Item icon={<SettingO />}>
                    <NavLink to="/all/shopcar">购物车</NavLink>
                </Tabbar.Item>
                <Tabbar.Item icon={<SettingO />}>
                    <NavLink to="/all/address">我的地址</NavLink>
                </Tabbar.Item>
            </Tabbar>
        </div>

    )
}

export default Tabbar1